Remote system usage monitoring with flexible encoding and decoding objects

ABSTRACT

A system for monitoring a user&#39;s usage of a target application. Such a target application can, as examples, be a software program running on a computer or a workstation, an image forming device, an appliance, etc. The target application includes a user interface with a plurality of commands which a user can select. In the example of the target application being a software program, the commands may be icons displayed on a computer screen which a user can point to with a mouse pointer and then click on. In the case of the target application being an image forming device or an appliance, the interface may be an operation panel with buttons, a touch pad, etc. which a user can press. The present invention monitors the user&#39;s usage of such interfaces and logs data of the user&#39;s usage of such interfaces. The logged data is stored after being encoded, and the encoded data is then decoded. The logged data can then be communicated by the sending unit by Internet mail to a designated location.

CROSS-REFERENCES TO RELATED APPLICATIONS

The present application is related to U.S. patent application Ser. No. 09/408,443 filed on Sep. 29, 1999, entitled “Method and System for Remote Diagnostic, Control and Information Collection Based on Various Communication Modes for Sending Messages to a Resource Manager”, U.S. patent application Ser. No. 09/407,769 filed on Sep. 29, 1999, entitled “Method and System for Remote Diagnostic, Control and Information Collection Based on Various Communication Modes for Sending Messages to Users”, U.S. patent application Ser. No. 09/393,677 filed on Sep. 10, 1999, entitled “Application Unit Monitoring and Reporting System and Method”, U.S. patent application Ser. No. 09/311,148 filed May 13, 1999, entitled “Application Unit Monitoring and Reporting System and Method”, U.S. patent application Ser. No. 09/192,583 filed Nov. 17, 1998 entitled “Method and System for Communicating With a Device Attached to a Computer Using Electronic Mail Messages,” U.S. patent application Ser. No. 08/883,492 filed Jun. 26, 1997 entitled “Method and System for Diagnosis and Control of Machines Using Connectionless Modes Having Delivery Monitoring and an Alternate Communication Mode,” U.S. patent application Ser. No. 08/820,633 filed Mar. 19, 1997, now U.S. Pat. No. 5,887,216, entitled “Method and System to Diagnose a Business Office Device Based on Operating Parameters Set by a User,” U.S. patent application Ser. No. 08/733,134 filed Oct. 16, 1996 entitled “Method and System for Diagnosis and Control of Machines Using Connectionless Modes of Communication,” U.S. patent application Ser. No. 08/624,228 filed Mar. 29, 1996, now U.S. Pat. No. 5,818,603, entitled “Method and System for Controlling and Communicating with Machines Using Multiple Communication Formats,” U.S. patent application Ser. Nos. 08/738,659 and 08/738,461, both of which are entitled “Method and System for Diagnosis and Control of Machines Using Connection and Connectionless Modes of Communication,” filed Oct. 30, 1996, and are divisions of U.S. patent application Ser. No. 08/463,002 filed Jun. 5, 1995, entitled “Method and System for Diagnosis and Control of Machines Using Connection and Connectionless Modes of Communication”, now U.S. Pat. No. 5,819,110, and U.S. patent application Ser. No. 08/852,413 filed May 7, 1987, entitled “Method and System for Controlling and Communicating with Business Office Devices,” now U.S. Pat. No. 5,774,678, which is a continuation of U.S. patent application Ser. No. 08/698,068 filed Aug. 15, 1996, entitled “Method and Apparatus for Controlling and Communicating With Business Office Devices”, now U.S. Pat. No. 5,649,120 which is a continuation of U.S. patent application Ser. No. 08/562,192 filed Nov. 22, 1995, which is a continuation of U.S. patent application Ser. No. 08/473,780 filed Jun. 6, 1995, entitled “Method and Apparatus for Controlling and Communicating With Business Office Devices”, now U.S. Pat. No. 5,544,289, which is a continuation of U.S. patent application Ser. No. 08/426,679 filed Apr. 24, 1995, now U.S. Pat. No. 5,537,554, entitled “Method and Apparatus for Controlling and Communicating With Business Office Devices” which is a continuation of U.S. patent application Ser. No. 08/282,168 filed Jul. 28, 1994 and entitled “Method and Apparatus for Controlling and Communicating With Business Office Devices”, now U.S. Pat. No. 5,412,779, which is a continuation of U.S. patent application Ser. No. 07/902,462 filed Jun. 19, 1992, now abandoned, which is a continuation of U.S. patent application Ser. No. 07/549,278, filed Jul. 6, 1990, now abandoned, the disclosure of each is incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention generally relates to an application unit monitoring device which can monitor a user's usage of a target application of an application unit, and which can easily and efficiently communicate data of the monitored usage.

2. Discussion of the Background

With the rise of computer usage, software development has clearly become a significant business. In evaluating software, it may be beneficial to monitor exactly how a user utilizes a software application. As an example, it may be helpful for a software developer to know which commands a user uses most often.

Further, in designing devices with which a human interacts, it may be desirable to monitor how the user interacts with such a device. As an example, it may be desirable to monitor how a user utilizes a control panel of an image forming device such as a copying machine, facsimile machine, printer, scanner, an appliance such as a microwave oven, VCR, digital camera, cellular phone, palm top computer, etc.

Further, more and more users are utilizing the Internet. There is significant interest in how users use the Internet, particularly with respect to how users may use certain web pages etc. Monitoring a user's usage of the Internet thereof may also become significant.

In these instances when it is desired to determine how a user is utilizing a certain application, for example a software application, a device with an interface to be operated by a user, a web page, etc., not only must the user's usage of the application unit be monitored, but the information obtained by monitoring the user's usage must be effectively communicated to a desired party.

SUMMARY OF THE INVENTION

One object of the present invention is to provide a novel and effective system for monitoring a user's usage of a target application of an application unit.

A further object of the present invention is to provide a novel system for communicating data obtained by monitoring a user's usage of a target application of an application unit to a desired party.

A further object of the present invention is to provide an efficient communication of the monitored usage information from a sending unit.

The present invention achieves these and other objects by monitoring the usage of a user interface of a target application of an application unit. Such a monitoring can, as one example, monitor a software program being executed on a computer or workstation under control by a user, usage of a control panel of an image forming apparatus such as a copying machine, printer, facsimile, scanner, an appliance such as a microwave oven, VCR, digital camera, cellular phone, palm top computer, etc., or any other device or system which has a user interface. The data obtained by monitoring a user's usage of a target application of an application unit can, as a further feature in the present invention, be collected and logged and then communicated to a desired location by Internet email. The use of email communication reduces the costs associated with communicating such data. The data can be communicated to the desired location at several instances, including each time a user exits a target application of an application unit, or after a predetermined number of times that a user has utilized and exited the target application of the application unit.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the present invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:

FIG. 1 illustrates three networked business office machines connected to a network of computers and data bases through the Internet;

FIG. 2 illustrates the components of a digital copier/printer;

FIG. 3 illustrates the electronic components of the digital copier/printer illustrated in FIG. 2;

FIG. 4 illustrates details of the multi-port communication interface illustrated in FIG. 3;

FIG. 5 illustrates an alternative system configuration in which business office devices are connected to a computer which is connected to a network, and also devices which are connected directly to the network;

FIG. 6A illustrates in block diagram format a manner in which information may be communicated to or from an application unit using electronic mail;

FIG. 6B illustrates an alternative way of communicating using electronic mail in which the computer which is connected to an application unit also serves as a message transfer agent;

FIG. 6C illustrates an alternative way of communicating using electronic mail in which an application unit includes electronic mail capability;

FIG. 7 illustrates an alternative manner of sending messages across the Internet;

FIG. 8 illustrates an exemplary computer which may be connected to the device and used to communicate electronic mail messages;

FIG. 9 shows in block diagram format a connection of a monitoring and logging block and a sending block to a target application of an application unit in the present invention;

FIG. 10 shows one example of an application unit to which the present invention can be applied;

FIG. 11 shows a second example of an application unit to which the present invention can be applied;

FIG. 12A shows an overall view of objects executed in the present invention;

FIG. 12B shows information in an abstract class transferred between a monitoring block and a sending block in the present invention;

FIG. 13 shows a start monitoring operation executed in the present invention;

FIG. 14 shows an operation of setting a trigger type and a number of sessions operations in the present invention;

FIGS. 15( a) and 15(b) show command usage operations which can be executed in the present invention; and

FIGS. 16( a) and 16(b) show stop monitoring operations which can be executed in the present invention;

FIG. 17 shows a sending control operation which can be executed in the present invention;

FIG. 18 shows abstract classes used in the present invention for encoding and decoding data into and from a file in the present invention;

FIG. 19 shows an operation of initialization of encoding and decoding objects in the present invention;

FIG. 20 shows an operation of encoding usage data as it is stored in a file in the present invention;

FIG. 21 shows an operation of decoding usage data as it is read from a file in the present invention;

FIG. 22 shows an overall operation of encoding usage data in the present invention;

FIG. 23 shows a specific operation of encoding usage data in the present invention using two different encoding objects;

FIG. 24 shows an overall operation of decoding usage data in the present invention; and

FIG. 25 shows a specific operation of decoding usage data in the present invention using two different decoding objects.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, and more particularly to FIG. 1 thereof, there is illustrated a figure showing various machines and computers for monitoring, diagnosing and controlling the operation of the machines. In FIG. 1, there is a first network 16, such as a Local Area Network (LAN) connected to computer workstations 17, 18, 20 and 22. The workstations can be any type of computers including IBM Personal Computer compatible devices, Unix based computers, or Apple Macintoshes. Also connected to the network 16 are a digital copier/printer 24, a facsimile machine 28, and a printer 32. The devices 24, 28 and 32 and the workstations 17, 18, 20 and 22 are referred to as machines or monitored devices and other types of devices may be used as the machines or monitored devices, including any of the devices discussed below. Also, a facsimile server (not illustrated) may be connected to the network 16 and have a telephone, ISDN (Integrated Services Digital Network), or cable connection. In addition to the digital copier/printer 24, facsimile machine 28, and printer 32 being connected to the network 16, these devices may also include conventional telephone and/or ISDN and/or cable connections 26, 30 and 34, respectively. As is explained below, the business office machines or business devices 24, 28 and 32 communicate with a remote monitoring, diagnosis and control station, also referred to as a monitoring device, through the Internet via the network 16 or by a direct telephone, ISDN, wireless, or cable connection.

In FIG. 1, the Internet is generally designated by 10. The Internet 10 includes a plurality of interconnected computers and routers designated by 12A-12I. The manner of communicating over the Internet is known through RFC documents obtained by FTP at NIC.DDN.MIL or at FTP NISC.SRI.COM. TCP/IP related communication is described for example in the book “TCP/IP Illustrated,” Vol. 1, The Protocols, by Stevens, from Addison-Wesley Publishing Company, 1994, which is incorporated herein by reference.

In FIG. 1, a firewall 14 is connected between the Internet 10 and the network 16. A firewall is a device that allows only authorized computers to access a network or other computers via the Internet. Firewalls are known and commercially available devices and/or software and, for example, include SunScreen from Sun Microsystems Inc. Similarly, a firewall 50 is connected between the Internet 10 and a network 52. Also, a firewall 40 is connected between the Internet 10 and a workstation 42.

The network 52 is a conventional network and includes a plurality of workstations 56, 62, 68 and 74. These workstations may be different departments within a company such as a marketing, manufacturing, design engineering and customer service departments. In addition to the workstations connected via the network 52, there is a workstation 42 which is not directly connected to the network 52. Information in a data base stored in a disk 46 may be shared using proper encryption and protocols over the Internet to the workstations connected directly to the network 52. Also, the workstation 42 includes a direct connection to a telephone line and/or ISDN and/or cable 44 and the data base in disk 46 may be accessed through the telephone line, ISDN, or cable. The cable used by this invention may be implemented using a cable which typically is used to carry television programming, a cable which provides for high speed communication of digital data typically used with computers or the like, or may be implemented using any desired type of cable.

Information of the business office machines 24, 28 and 32 may be stored in one or more of the data bases stored in the disks 46, 54, 58, 64, 70 and 76. Each of the customer service, marketing, manufacturing, and engineering departments may have their own data base or may share from one or more data bases. Each of the disks used to store data bases is a non-volatile memory such as a hard disk or optical disk. Alternatively, the data bases may be stored in any storage device including solid state and/or semiconductor memory devices. As an example, disk 64 contains the marketing data base, disk 58 contains the manufacturing data base, disk 70 contains the engineering data base and disk 76 contains the customer service data base. Alternatively, the disks 54 and 46 store one or more of the data bases.

In addition to the workstations 56, 62, 68, 74 and 42 being connected to the Internet, these workstations may also include a connection to a telephone line, ISDN, or cable which provides a secure connection to the machine being monitored, diagnosed and/or controlled and is used during a connection-mode of communication. Additionally, if one of the Internet, telephone, ISDN, or cable is not operating properly, one of the others can be automatically used for communication.

A feature of the present invention is the use of a connectionless-mode of communication (e.g., Internet email) or transmission between a machine and a computer for diagnosing and controlling the machine. Alternatively, the email which is transmitted may be implemented using a connection mode of communication. The IBM Dictionary of Computing by George McDaniel, 1994, defines a connectionless-mode transmission to be the transmission of a single unit of data from a source service access point to one or more destination service access points without establishing a connection. The IBM Dictionary also defines a connection-mode transmission to be the transmission of units of data from a source service access point to one or more destination service access points via a connection. The connection is established prior to data transfer and released following data transfer. Additional information about the connection-mode and the connectionless-mode of operation is described in the Handbook of Computer-Communications Standards, Vol. 1, 2nd Edition, by William Stallings, 1990, which is incorporated herein by reference. In order to transfer data from one DTE (Data Terminal Equipment) to another DTE, there is a unique identifier or address for each DTE. This unique identifier or address is usable in both connection-modes and connection-less modes of communication.

FIG. 2 illustrates the mechanical layout of the digital copier/printer 24 illustrated in FIG. 1. In FIG. 2, 101 is a fan for the scanner, 102 is a polygonal mirror used with a laser printer, and 103 designates an Fθ lens used to collimate light from a laser (not illustrated). Reference numeral 104 designates a sensor for detecting light from the scanner. 105 is a lens for focusing light from the scanner onto the sensor 104, and 106 is a quenching lamp used to erase images on the photoconductive drum 132. There is a charging corona unit 107 and a developing roller 108. Reference numeral 109 designates a lamp used to illustrate a document to be scanned and 110, 111 and 112 designate mirrors used to reflect light onto the sensor 104. There is a drum mirror 113 used to reflect light to the photoconductive drum 132 originating from the polygon mirror 102. Reference numeral 114 designates a fan used to cool the charging area of the digital copier/printer, and 115 is a first paper feed roller used for feeding paper from the first paper cassette 117, and 116 is a manual feed table. Similarly, 118 is a second paper feed roller for the second cassette 119. Reference numeral 120 designates a relay roller, 121 is a registration roller. 122 is an image density sensor and 123 is a transfer/separation corona unit. Reference numeral 124 is a cleaning unit, 125 is a vacuum fan, 126 illustrates a transport belt, 127 is a pressure roller, and 128 is an exit roller. Reference numeral 129 is a hot roller used to fix toner onto the paper, 130 is an exhaust fan and 131 is the main motor used to drive the digital copier.

FIG. 3 illustrates a block diagram of the electronic components illustrated in FIG. 2. The CPU 160 is a microprocessor and acts as the system controller. There is a random access memory 162 to store dynamically changing information including operating parameters of the digital copier. A read only memory 164 stores the program code used to run the digital copier and also information describing the copier (static-state data) such as the model number, serial number of the copier, and default parameters.

There is a multi-port communication interface 166 which allows the digital copier to communicate with external devices. Reference numeral 168 represents a telephone, ISDN, or cable line and 170 represents a network. Further information of the multi-port communication interface is described with respect to FIG. 4. An interface controller 172 is used to connect an operation panel 174 to a system bus 186. The operation panel 174 includes standard input and output devices found on a digital copier including a copy button, keys to control the operation of the copier such as number of copies, reducement/enlargement, darkness/lightness, etc. Additionally, a liquid crystal display may be included within the operation panel 174 to display parameters and messages of the digital copier to a user.

A storage interface 176 connects storage devices to the system bus 186. The storage devices include a flash memory 178 which can be substituted by a conventional EEPROM and a disk 182. The disk 182 includes a hard disk, optical disk, and/or a floppy disk drive. There is a connection 180 connected to the storage interface 176 which allows for additional memory devices to be connected to the digital copier. The flash memory 178 is used to store semi-static state data which describes parameters of the digital copier which infrequently change over the life of the copier. Such parameters include the options and configuration of the digital copier. An option interface 184 allows additional hardware such as an external interface to be connected to the digital copier. A clock/timer 187 is utilized to keep track of both the time and date and also to measure elapsed time.

On the left side of FIG. 3, the various sections making up the digital copier are illustrated. Reference numeral 202 designates a sorter and contains sensors and actuators used to sort the output of the digital copier. There is a duplexer 200 which allows a duplex operation to be performed by the digital copier and includes conventional sensors and actuators. The digital copier includes a large capacity tray unit 198 which allows paper trays holding a large number of sheets to be used with the digital copier. The large capacity tray unit 198 includes conventional sensors and actuators.

A paper feed controller 196 is used to control the operation of feeding paper into and through the digital copier. A scanner 194 is used to scan images into the digital copier and includes conventional scanning elements such as a light, mirror, etc. Additionally, scanner sensors are used such as a home position sensor to determine that the scanner is in the home position and a lamp thermistor to ensure proper operation of the scanning lamp. There is a printer/imager 192 which prints the output of the digital copier and includes a conventional laser printing mechanism, a toner sensor, and an image density sensor. The fuser 190 is used to fuse the toner onto the page using a high temperature roller and includes an exit sensor, a thermistor to assure that the fuser 190 is not overheating, and an oil sensor. Additionally, there is an optional unit interface 188 used to connect to optional elements of the digital copier such as an automatic document feeder, a different type of sorter/collator, or other elements which can be added to the digital copier.

FIG. 4 illustrates details of the multi-port communication interface 166. The digital copier may communicate to external devices through a Centronics interface 220 which receives or transmits information to be printed, a cable modem unit 221 which has a high speed connection over cable, a SCSI interface 222, a conventional telephone interface 224 which connects to a telephone line 168A, an ISDN interface 226 which connects to an ISDN line 168B, an RS-232 interface 228, and a LAN interface 230 which connects to a LAN 170. A single device which connects to both a Local Area Network and a telephone line is commercially available from Megahertz and is known as the Ethernet-Modem.

The CPU or other microprocessor or circuitry executes a monitoring process to monitor the state of each of the sensors of the digital copier, and a sequencing process is used to execute the instructions of the code used to control and operate the digital copier. Additionally, there is a central system control process executed to control the overall operation of the digital copier and a communication process used to assure reliable communication to external devices connected to the digital copier. The system control process monitors and controls data storage in a static state memory such as the ROM 164 of FIG. 3, a semi-static memory such as the flash memory 178 or disk 182, or the dynamic state data which is stored in a volatile or non-volatile memory such as the RAM 162 or the flash memory 178 or disk 182. Additionally, the static state data may be stored in a device other than the ROM 164 such as a non-volatile memory including either of the flash memory 178 or disk 182.

The above details have been described with respect to a digital copier but the present invention is equally applicable to other business office machines or devices such as an analog copier, a facsimile machine, a scanner, a printer, a facsimile server, or other business office machines, or an appliance with which a user interfaces such as a microwave oven, VCR, digital camera, cellular phone, palm top computer, etc. Additionally, the present invention includes other types of machines which operate using a connection-mode or connectionless-mode of communication, and also email, such as a metering system including a gas, water, or electricity metering system, vending machines, or any other device which performs mechanical operations, such as automobiles, and has a need to be monitored, and performs a function. In addition to monitoring special purpose machines, and computers, the invention can be used to monitor, control, and diagnose a general purpose computer which would be the monitored and/or controlled device.

FIG. 5 illustrates an alternative system diagram of the invention in which different devices and subsystems are connected to the Internet 10. However, there is no requirement to have each of these devices or subsystems as part of the invention but any individual component or subsystem illustrated in FIG. 5 is also part of the invention. Further, the elements illustrated in FIG. 1 may be connected to the Internet 10 which is illustrated in FIG. 5. In FIG. 5, there is illustrated a fire wall 250 connected to an intranet 252. One of the computers or devices connected to the intranet 252 is a service machine 254 which includes therein or has connected thereto data 256 which may be stored in a data base format. The data 256 includes history, performance, malfunction, and any other information including statistical information of the operation or failure or set-up and components or optional equipment of devices which are being monitored. The service machine 254 may be implemented as the device or computer which requests the monitored devices to transmit data or which requests that remote control and/or diagnosis tests be performed on the monitored devices. The service machine 254 may be implemented as any type of device and is preferably implemented using a computerized device such as a general purpose computer.

Another sub-system of FIG. 5 includes a fire wall 258, an intranet 260, and a printer 262 connected thereto. In this sub-system, there is not a separate general purpose computer connected between the intranet 260 (or a different type of computer network) and the printer 262 but the functions of sending and receiving electronic mail messages by the printer 262 (and similarly by a copier 286) are performed by circuitry, a microprocessor, or any other type of hardware contained within or mounted to the printer 262.

An alternate type of sub-system includes the use of an Internet service provider 264 which may be any type of Internet service provider including known commercial companies such as America Online, Netcom, CompuServe, Niftyserve, the Internet service provider Erols, or any other Internet service provider. In this sub-system, a computer 266 is connected to the Internet service provider 264, through a modem, for example, such as a telephone line modem, a cable modem, modems which use any type of wires such as modems used over an ISDN (Integrated Services Digital Network) line, ASDL (Asymmetric Digital Subscriber Line), modems which use frame relay communication, any digital or analog modem, wireless modems such as a radio frequency modem, a fiber optic modem, or a device which uses infrared light waves. Further, a business office device 268 is connected to the computer 266. As an alternative to the business office device 268 (and any other device illustrated in FIG. 5), a different type of machine may be monitored or controlled such as a digital copier, any type of appliance, security system, or utility meter such as an electrical, water, or gas utility meter, or any other device discussed herein.

Also illustrated in FIG. 5 is a fire wall 270 connected to a network 274. The network 274 may be implemented as any type of computer network, such as an Ethernet network, for example. Networking software which may be used to control the network includes any desired networking software including software commercially available from Novell or Microsoft. The network 274 may be implemented as an Intranet, if desired. A computer 272 connected to the network 274 may be used to obtain information from a business office device 278 and generate reports such as reports showing problems which occurred in various machines connected to the network and a monthly usage report of the devices connected to the network 274. In this embodiment, a computer 276 is connected between the business office device 278 and the network 274. This computer receives email communications from the network and forwards the appropriate commands or data, or any other information, to the business office device 278. While it has been stated that the business office device 278 is connected to the computer 276, there is no requirement for a wired connection between the business office device and the computer and communication between the business office device 278 and the computer 276 may be accomplished using wires or wireless methods including through the use of radio frequency connections and light connections which may be through an infrared connection, or through fiber optics. Similarly, each of the various networks and intranets illustrates in FIG. 5 may be established using any desired manner including through the establishment of wireless networks such as radio frequency networks. The wireless communication described herein may be established using spread spectrum techniques including techniques which use a spreading code and frequency hopping techniques such as the frequency hopping wireless network which is disclosed in the Bluetooth Specification which is described at the world wide web site www.bluetooth.com, which is incorporated herein by reference.

Another sub-system illustrated in FIG. 5 includes a fire wall 280, an intranet 284, a computer 282 connected thereto, and a copier 286. The computer 282 may be used to generate reports and request diagnostic or control procedures. These diagnostic and control procedures may be performed with respect to the copier 286 or any of the other devices illustrated in or used with FIG. 5. While FIG. 5 illustrates a plurality of fire walls, the fire walls are preferable but optional equipment and therefore the invention may be operated without the use of fire walls, if desired.

FIG. 6A illustrates an application unit 300 connected to a typical email exchange system which includes components 302, 304, 306, 308, 310, 312, 314, 316, and 318 which may be implemented in a conventional manner and are taken from FIG. 28.1 of Stevens, above. The application unit 300 may be any of the devices described herein and the user at a terminal 302 may correspond to any of the illustrated computers, such as the computer 276 illustrated in FIG. 5. While FIG. 6A illustrates the user at a terminal 302 as being a sender, the sending and receiving functions may be reversed in FIG. 6A. Further, if desired, there may not be a need for having a user at the terminal. Connected to the user at a terminal 302 is the user agent 304. Popular user agents for Unix include MH, Berkeley Mail, Elm, and Mush. The user agent creates email messages to be sent and, if desired, places these messages to be sent in a queue 306. The mail to be sent is forwarded to a Message Transfer Agent (MTA) 308. A common MTA for Unix systems is Sendmail. Typically, the message transfer agents 308 and 312 exchange communications using a TCP (Transfer Communication Protocol) connection or a TCP/IP (Internet Protocol) connection or protocol. It is to be noted that the communication between the message transfer agents 308 and 312 may occur over the Internet, but alternatively may occur over any type of connection including any network connection such as a local area network, wide area network and/or an intranet. Further, any desired connection between the message transfer agents 308 and 312 may be utilized.

From the message transfer agents 312, email messages are stored in user mailboxes 314 which are transferred to the user agent 316 and ultimately transmitted to the user at a terminal 318 which functions as a receiving terminal.

The TCP provides a connection-mode of transmission. However, a direct connection is usually not established between the sending terminal 302 and receiving terminal 318. Thus, the transmission of an electronic mail message may be considered a connectionless-mode of communication when it is being referred to as between two users or terminals, but when considering the transfer between MTAs, the communication is usually a connection-mode of communication.

As the Internet is a network accessible by many people and organizations, it is not considered to be secure. Therefore, messages transmitted over the Internet should be encrypted to keep the messages confidential. Encryption mechanisms are known and commercially available which may be used with the present invention. For example, a C library function, crypto, is available from Sun Microsystems for use with the Unix operating system, and other encryption and decryption routines are known and commercially available and may also be used with this invention.

As an alternative to the general structure of FIG. 6A, a single computer may be used which functions as the user terminal, and also the message transfer agent. As illustrated in FIG. 6B, the application unit 300 is connected to a computer 301 which includes the message transfer agent 308. If desired, the other components on the sending side of FIG. 6A may be included in the computer 301 of FIG. 6B including the user agent 304 and the queue of mail to be sent 306.

A further alternative structure is shown in FIG. 6C in which the message transfer agent 308 is formed as part of the application unit 300. Further, the message transfer agent 308 is connected to the message transfer agent 312 by the TCP connection 310. This embodiment of FIG. 6C illustrates a case in which the application unit 300 is directly connected to the TCP connection 310 and has an email capability. A common instance of this embodiment of FIG. 6C may be the application unit 300 is a facsimile machine with an email capability of RFC 2305 (a simple mode of facsimile using Internet mail).

FIG. 7 illustrates an alternative implementation of transferring mail and is based on FIG. 28.3 of Stevens. FIG. 7 illustrates an electronic mail system having a relay system at each end. The arrangement of FIG. 7 allows one system at an organization to act as a mail hub. In FIG. 7, there are four MTAs connected between the two user agents 304 and 316. These MTAs include local MTA 322, relay MTA 328, relay MTA 332, and local MTA 340. The most common protocol used for mail messages is SMTP (Simple Mail Transfer Protocol) which may be used with this invention, although any desired mail protocol may be utilized. In FIG. 7, 320 designates a sending host which includes the user at a terminal 302, the user agent 304, and the local MTA 322. The application unit 300 is connected to, or alternatively included within, the sending host 320. As another case, the application unit 300 and host 320 can be in one machine where the host capability is built into the application unit 300. Other local MTAs include local MTA 324 and 326. Mail to be transmitted and received may be queued in a queue of mail 330 of the relay MTA 328. The messages are transferred across the TCP connection 310, which may be, for example, the Internet, or may be any other type of network or connection.

The transmitted messages are received by the relay MTA 332 and if desired, stored in a queue of mail 334. The mail is then forwarded to the local MTA 340 of a receiving host 342. The mail may be placed in one or more of the user mailboxes 314 and subsequently forwarded to the user agent 316 and finally forwarded to the user at a terminal 318. If desired, the user may not be required to be at the terminal and the mail may be directly forwarded to the terminal without user interaction. Other local MTAs at the receiving side include MTA 338 and local MTA 336 which may have their own mailboxes, user agents, and terminals.

The various computers utilized by the present invention including the computers 266 and 276 of FIG. 5 may be implemented as illustrated in FIG. 8. Further, any other computer utilized by this invention may be implemented in a similar manner to the computer illustrated in FIG. 8, if desired, including the service machine 254, computer 272, and computer 282 of FIG. 5. However, not every element illustrated in FIG. 8 is required in each of these computers. In FIG. 8, the computer 360 includes a CPU 362 which may be implemented as any type of processor including commercially available microprocessors from companies such as Intel, Motorola, Hitachi and NEC, for example. There is a working memory such as a RAM 364, and a wireless interface 366 which communicates with a wireless device 368. The communication between the interface 366 and device 368 may use any wireless medium such as radio waves, or light waves, for example. The radio waves may be implemented using a spread spectrum technique such as Code Division Multiple Access (CDA) communication or using a frequency hopping technique such as that disclosed in the Bluetooth specification.

There is a ROM 370, and a flash memory 371, although any other type of nonvolatile memory may be utilized in addition to or in place of the flash memory 371 such as an EPROM, or an EEPROM, for example. An input controller 372 has connected thereto a keyboard 374 and a mouse 376. There is a serial interface 378 connected to a serial device 380. Additionally, a parallel interface 382 is connected to a parallel device 384, a universal serial bus interface 386 is connected to a universal serial bus device 388, and also there is an IEEE 1394 device 400, commonly referred to as a fire wire device, connected to an IEEE 1394 interface 398. The various elements of the computer 360 are connected by a system bus 390. A disk controller 396 is connected to a floppy disk drive 394 and a hard disk drive 392. A communication controller 406 allows the computer 360 to communicate with other computers, or send email messages, for example over a telephone line 402, or a network 404. An I/O (Input/Output) controller 408 is connected to a printer 410 and a hard disk 412, for example using a SCSI (Small Computer System Interface) bus. There is also a display controller 416 connected to a CRT (Cathode Ray Tube) 414, although any other type of display may be used including a liquid crystal display, a light emitting diode display, a plasma display, etc.

One feature in the present invention is to monitor usage of a target application of an application unit by a user. The term application unit in this instance refers to a system which a user interacts with and controls, and a target application is a user controlled offering of the application unit. For example, an application unit may typically be a computer and a target application may then be a software program, e.g. a word processor, running on the computer which a user operates, for example by moving a pointer on a computer screen and “clicking” on certain command icons to cause the software program to perform certain functions. In this sense, an application unit in the present invention can refer to any of workstations 17, 18, 20, 22, 56, 62, 68, 74, 42 shown in FIG. 1 running a software program, the computer 301 shown in FIG. 6B running a software program, etc. An application unit can also refer to an image forming device such as any of the digital copier/printer 24, facsimile machine 28, and printer 32 in FIGS. 1 and 2. In this instance, each of these device application units includes a user interface, such as operation panel 174 (see FIG. 3), which a user interacts with and utilizes to control the device application unit. The present invention can monitor a user selecting controls on such an operation panel. As a further example, the application unit could also be an appliance, such as a microwave oven, with an operation panel. An application unit can also refer to any other device, including software, with which a user interacts, and in this case the target application may refer to only one feature of the software which the user interacts with.

One feature of the present invention is to monitor the user's usage of such a target application of an application unit, and to effectively communicate data of the monitored usage. This data will typically be transmitted by email by the computer 301 of FIG. 6A or 6B or the application unit 300 of FIG. 6C. This data of a user's usage of a target application of an application unit can then be utilized in many ways, for example in improving software development, in monitoring usage of a device, such as an image forming device, discovering user difficulties with appliances and software, finding most frequently used features of application units, etc.

FIG. 9 shows various elements of the present invention. More particularly, FIG. 9 shows an application unit 300 including a target application 505 which includes a user interface 510. This user interface 510 is an interface for a user to control the target application 505. As discussed above, in one common instance, the target application 505 may be a software program running on one of the workstations 17, 18, 20, 22 shown for example in FIG. 1 of the present specification. In this instance, the user interface 510 may be a display on a monitor of one of these workstations. This instance of such a target application is shown in further detail in FIG. 10 which shows a monitor 600 of one of the workstations 17, 18, 20, and 22. In this instance of a target application, a plurality of function keys 605 are displayed on the monitor 600 and the user can access these function keys by, for example, changing the positioning of a pointer with a mouse and “clicking” on one of such function keys. As a further example, if monitor 600 is a touch pad the user can control the software application unit by touching one of the function keys 605. In these instances, the present invention monitors each time a user “clicks” on or touches one of the function keys 605, and logs data of such a user usage for subsequent communication.

As a further example, and as noted above, the application unit 300 may be an image forming device such as the digital copier/printer 26, facsimile machine 28, or printer 32 also shown in FIG. 1. In this instance, the user interface 510 may take the form of an operation panel (e.g. operation panel 174 in FIG. 3) with a plurality of keys and/or a touch screen which a user operates to control the image forming device. A specific example of such a user interface 510 in this instance when the application unit 300 takes the form of a digital copier printer 26, facsimile machine 28, or printer 32 is shown in FIG. 11. In this instance, the present invention monitors each time a user presses one of the control buttons on the operation panel and logs data of such a user usage for subsequent communication.

FIG. 11 shows in greater detail an example of a user interface for an image forming device. FIG. 11 shows such a user interface 700, which can, as one example, correspond to the operation panel 174 in FIG. 3. As shown in FIG. 11, such an operation panel 700 may include a touch screen 705 on which various commands may appear which an operator can select by touching different portions of the touch screen 705. The operation panel 700 may also include a 10-key pad 710 and various other control buttons 715. In the case of an image forming device, the control buttons 715 may be commands for selecting a paper size, changing a magnification, changing a darkness of a desired image, etc.

When the application unit 300 in FIG. 9 is an image forming device and the user interface 510 corresponds to the operation panel 700 as shown in FIG. 11, the present invention can monitor a user's selecting the commands shown in FIG. 11. The operation panel 700 shown in FIG. 11 may, with modifications, also be an operation panel for an appliance with which a user interfaces, such as a microwave oven, VCR, digital camera, cellular phone, palm top computer, etc.

FIGS. 10 and 11 show examples of the application unit 300 and user interface 510 of FIG. 9 to which the present invention can be applied. It should be readily apparent to those of ordinary skill in the art that the present invention is directed to various types of application units including various types of user interfaces. The present invention is essentially applicable to any device which includes a user interface and for which it is desired to monitor how a user utilizes the user interface.

Returning to FIG. 9, the present invention further includes a monitoring and logging block 515 and a sending block 520. The monitoring and logging block 515 monitors the user's usage of the user interface 510 and records or logs data of such monitored usage. At a designated time, the logged data of the user's usage of the user interface 510 is then sent to the sending block 520, which then communicates such monitored usage data to a designated party. The monitoring and logging block 515 can be implemented in the device including the application unit 300 or in another system control element. The sending block can also be implemented in the device including the application unit in FIG. 6C, or can also be implemented in the computer 301 in FIG. 6B to which the application unit is attached. The present invention can also take the form of computer control codes recorded on a computer readable medium.

FIG. 12A shows an overall system view of portions of the application unit 300. FIGS. 13-17 show the operations executed in the monitoring and logging block 515 and the sending block 520 shown in FIG. 9. It should be noted that FIGS. 12-17 describe the system and such operations in an object oriented format utilizing the unified modeling language such as described in “The Unified Modeling Language User Guide” by Booch et al. published by Addison-Wesley, 1999.

In FIG. 12A the object MB 1300 indicates a target application to be monitored. The dashed-block in FIG. 12A contains objects responsible for the monitoring functions, and thus collectively indicate a monitoring block object 1200. A CMonitoringIF object 1305 performs monitoring functions of the target application MB 1300. A CUsageLogger object 1315 includes functions for logging monitored data obtained by the CMonitoringIF object 1305. The CUsageLogger object 1315 interacts with a System object 1325 to obtain system information and a CUsageData object 1330 which is a storage for logged data.

A UsageDataSendManager object 1310 interacts with the CMonitoringIF object 1305. This UsageDataSendManager object 1310 controls transmitting monitored data of a user's usage of the target application MB 1300 as monitored by the CMonitoringIF object 1305. This UsageDataSendManager object 1310 interacts with a CUsageInformation object 1730, which can modify the data to be transmitted, a LogFile object 1605, which can also store data to be transmitted, and a UsageDataEncoderDecoder object 1610 which can encode and decode data to and from the LogFile object 1605. The UsageDataSendManager object 1310 also provides the data to be transmitted to the SendingBlock object 1600.

FIG. 12B shows an overall operation executed in the system of FIG. 12A. More particularly, as shown in FIG. 12B the monitoring block object 1200 overall calls a function sendUsageData to the sending block object 1600 and provides CUsageInformation to the sending block object 1600. The CUsageInformation is information of the usage of the monitored target application 505. This operation instructs the sending block object 1600 to send the CUsageInformation provided from the monitoring block object 1200. The CUsageInformation can be validated and encoded prior to being sent by the sending block object 1600, which is discussed in further detail in Applicants' co-pending application Ser. No. 09/440,646 filed concurrently with the present application, and the entire contents of which are hereby incorporated herein by reference. Further, the packaging of the CUsageInformation provided to the sending block object 1600 may be flexible, as discussed in further detail in Applicants' co-pending application Ser. No. 09/440,647 filed concurrently with the present application, and the entire contents of which are hereby incorporated herein by reference. Moreover, details of mapping data to be communicated, including by utilizing a dynamic link library, are found in Applicants' copending application Ser. Nos. 09/440,693 & 09/453,877 the entire contents of which are hereby incorporated herein by reference.

The operations performed by the various objects noted in FIGS. 12A and 12B are now discussed in further detail in FIGS. 13-17. In FIGS. 13-17 the various functions are preceded by a numeral and a colon. It should be noted that this nomenclature is not always indicative of the order of the various operations as various operations can be performed in parallel and at different times.

FIG. 13 shows a start monitoring control executed in the present invention. As shown in FIG. 13, when a target application MB starts up, the MB object 1300 calls a function startMonitoring of a CMonitoringIF object 1305. This operation indicates that the logging of data corresponding to a user's usage of a user interface 510 is to begin. The CMonitoringIF object 1305 then calls a setTriggerInformation function of a UsageDataSendManager object 1310. This operation sets trigger information indicating when logged data should be sent by the sending block 520. How this trigger information is set is discussed in further detail with reference to FIG. 14 discussed below.

Returning to FIG. 13, the CMonitoringIF object 1305 also calls a logStartData function from a CUsageLogger object 1315. This operation can be executed in parallel with calling the setTriggerInformation function of the UsageDataSendManager object 1310 or after calling the setTriggerInformation function.

The CUsageLogger object 1315 then calls a GetCurrentTime function of a CTime object 1320, and the CTime object 1320 then returns CTime data to the CUsageLogger object 1315. The returned CTime data is data of a start time of the monitoring. Thus, this operation sends data indicating the start time to the CUsageLogger object 1315, so that it can be determined at what time the user started using the user interface 510 of the target application 505 being monitored.

The CUsageLogger object 1315 then calls a setStartTime function of the CUsageData object 1330, and sends the CTime data of the start time to the CUsageData object 1330. The CUsageLogger object 1315 in a next operation calls a getCumulativeUsage function of a System object 1325 and the System object 1325 returns UINT data to the CUsageLogger object 1315. In this operation the CUsageLogger object 1315 obtains from the System object 1325 the number of times that users have used the target application to be monitored, and the System object 1325 returns an integer value of the type UINT. Thus, in this operation, when the target application 505 is utilized more than once, the CUsageLogger object 1315 is updated to reflect this multiple usage.

The CUsageLogger object 1315 then calls a setCumulativeUsage function and sends the UINT data to the CUsageData object 1330 after incrementing the value. The CUsageLogger object 1315 also calls a getSystemID function of the System object 1325, and the System object 1325 then returns the CString data to the CUsageLogger 1315 which indicates the system identification. The system identification identifies the environment under which the target application 505 is running. The purpose of this identification is to sort out usage data from different systems. The CUsageLogger object 1315 also calls the setSystemID function of the CUsageData object 1330 and sends the CString data indicating the system identification to the CUsageData object 1330.

FIG. 14 shows a specific control operation of setting the trigger type. The trigger type indicates when logged data of a monitored usage of a user interface 510 is to be sent from the sending block 520. More particularly, and as noted above, in the present invention a user's usage of the user interface 510 can be monitored. In this instance, the monitored data can be sent by the sending block 520 at various times. One operation is to send the monitored usage data by the sending block 520 after every time the user exits the target application 505. For example, if the target application 505 is a software that the user is running, every time that the user clicks on or touches an exit function, the monitored and logged data is sent by the sending block 520. As an alternative, the user can perform a setting so that the monitored usage data is sent by the sending block 520 only after a predetermined number of sessions of utilizing the target application 505. For example, the user can perform a setting, or a default operation can perform a setting, so that only after the user utilizes the target application 505 5 times does the sending block 520 send the monitored usage data. FIG. 14 shows the control operation of setting the trigger function.

In FIG. 14, the MB object 1300 calls a setSendTriggerType function of the CMonitoringIF object 1305, and the CMonitoringIF object 1305 in turn calls a setSendTriggerType function of the UsageDataSendManager object 1310. The UsageDataSendManager object 1310 then calls a setSendTriggerType function of the System object 1325 and provides the System object 1325 with the UINT data. The UINT data in this instance is data indicating the trigger type to send the monitored usage data to the sending block 520 after a predetermined number of sessions utilizing the target application 505. This operation performed by these steps in the present invention thereby sets a trigger type such that after a predetermined number of sessions of the target application 505 by a user, a trigger is sent to the sending block 520 to send the monitored and logged data to a designated location.

As noted above, as a further operation of the present invention the MB object 1300 can set, or a default setting may be executed to set, a number of sessions to be executed prior to issuing a trigger to the sending block 520. As an example, the MB object 1300 can issue a setting for sending the monitored and logged data after using a target application every 5 times. In this operation, after executing the operations noted above to set the send trigger type to be after multiple sessions, the MB object 1300 further calls a setNumberOfSessions function of the CMonitoringIF object 1305, which in turn calls a setNumberOfSessions of and sends the UINT data to the UsageDataSendManager object 1310, which in turn calls a setNumberOfSessions function of and sends the UINT data to the System object 1325. In this instance, the UINT data indicates the MB object's setting or the default setting of the number of sessions to be executed prior to sending the trigger to the sending block 520. The System object 1325 thus stores the UINT data which indicates how many sessions must be executed prior to sending a trigger.

FIGS. 15A and 15B show scenarios of monitoring functions of the target application 505 that are called when the user uses the user interface 510. That is, these figures show the actual monitoring and logging operations executed in the present invention when, as examples, a user “clicks” on a command in a software application as the target application or presses a button on an operation panel of an appliance, image forming device, etc.

In FIG. 15A, when a user selects a particular command from the user interface 510 of the target application 505 being monitored, the MB object 1300 calls a commandUsage function of and sends CString data, indicating the name of the command or function on the user interface 510 selected by the user, to the CMonitoringIF object 1305. The CMonitoringIF object 1305 then calls a logCommandUsage function of and sends the CString data to the CUsageLogger object 1315. This function indicates to the CUsageLogger object 1315 to log (store) data of the command or function on the user interface 510 selected by the user. The CUsageLogger object 1315 then sends the CString data to and calls an updateCommandUsage function of the CUsageData object 1330. The CUsageData object 1330 then stores the name of the selected and monitored command or function with a frequency of one if the name does not exist, i.e. if the name has not been previously selected and then stored, or increments the frequency associated with the name if the name exists, i.e. if the name has been previously selected and then stored.

The command usage scenario in FIG. 15B is identical to that as in FIG. 15A except that the CUsageLogger object 1315 also calls a GetCurrentTime function of the CTime object 1320, and in response the CTime object 1320 sends CTime data, which indicates a current time, to the CUsageLogger object 1315. The CTime data is then also sent to the CUsageData object 1330. In this operation in FIG. 15B, in addition to recording which command of the user interface 510 of the target application 505 being monitored has been selected by a user, the time that such a command is selected is also recorded.

That is, in the operation in FIG. 15A the only data recorded is that of the command of the user interface 510 selected by the user, whereas the command usage operation of FIG. 15B additionally records data of the time that such a command on the user interface 510 was selected by the user.

FIGS. 16A and 16B show operations of stopping monitoring of the user's usage of the user interface 510. Monitoring of the user's usage of the user interface 510 can be stopped when the user exits the target application 505. For example, when the target application 505 is software running on a workstation, the monitoring can be stopped when the user exits a program being executed. When the target application 505 is an operation panel of an appliance, an image forming device, etc., the monitoring can be stopped when a particular icon/button, such as a start button of a copier, is pressed. The monitoring can also be stopped after a predetermined period of time, after a predetermined period of time during which the user does not use the target application, etc. Similar conditions for stopping monitoring of user's usage of the user interface 510 can be executed when the target application 505 is an image forming device such as a copy machine, facsimile machine, printer, scanner or an appliance such as a microwave oven, VCR, digital camera, cellular phone, palm top computer, etc. Again, in such circumstances the monitoring can be stopped when the user inputs an exit command, after a predetermined time, after a predetermined time of non-usage, etc.

In FIG. 16A, when the user is exiting from the MB object 1300, the MB object 1300 initially calls a stopMonitoring function of the CMonitoringIF object 1305. The CMonitoringIF object 1305 then calls a logStopData function of the CUsageLogger object 1315 so that the CUsageLogger object 1315 can stop recording data of usage of the user interface 510 by the user. The CUsageLogger object 1315 then calls a GetCurrentTime function of the CTime object 1320, and the CTime object 1320 then returns CTime data to the CUsageLogger object 1315 indicating the current time. This current time indicates a time that monitoring of the user's usage of the interface 510 has been stopped. The CUsageLogger object 1315 then calls a getStartTime function of the CUsageData object 1330, which then returns CTime data indicating the stored time that the monitoring was started. After these operations, the CUsageLogger object 1315 will have data of the start time of the monitoring and the current time of stopping the monitoring. Thereby, the CUsageLogger object 1315 can determine the duration of time that the user's usage of the user interface 510 has been monitored. The CUsageLogger object 1315 then calls a setDuration function of the CUsageData object 1330 and sends UINT data with this setDuration function; that is, in this instance, the UINT data indicates the duration of time that the user's usage of the user interface 510 has been monitored. The CUsageLogger object 1315 also calls a getCumulativeUsage function of the CUsageData object 1330 which then returns the requested data as UINT data. The CUsageLogger object 1315 then sends this UINT data to and calls the setCumulativeUsage function of the System object 1325, so that the next time the monitoring operation is executed, the value of how many monitoring sessions have been executed is one more than the current execution.

The CMonitoringIF object 1305 also calls a getUsageData function of the CUsageLogger object 1315, which in turn returns the CUsageData to the CMonitoringIF object 1305. This data includes all the stored monitoring data including the system ID, cumulative usage, start time, usage duration, commands, and frequencies. The CMonitoringIF object 1305 then sends the CUsageData with a call for a sendUsageDataAtTrigger function of the UsageDataSendManager object 1310. The UsageDataSendManager object 1310 then calls a getSendTriggerType function of the System object 1325, which then returns EXIT data to the UsageDataSendManager object 1310. The returned value EXIT means that the monitored data is sent to the SendingBlock object 1600 every time the user exits the target application. The UsageDataSendManager object 1310 then sends the CUsageInformation, indicating all of the usage data of the user's usage of the user interface 510, through a sendUsageData function of the SendingBlock object 1600. The SendingBlock object 1600 then performs a function for sending the data to a designated party and then returns a confirmation signal, YES, to the UsageDataSendManager object 1310.

This operation shown in FIG. 16A corresponds to an operation in which the usage data is sent based on a triggering event of a user exiting a target application 505.

The stop monitoring operation indicated in FIG. 16B is similar to that as shown in FIG. 16A except in this operation the usage data is sent by the SendingBlock object 1600 after a predetermined number of sessions. As discussed above, as one feature in the present invention the monitored usage data can be sent by email after a certain number of sessions of a user using the target application 505. The operation shown in FIG. 16B corresponds to sending the usage data after such a certain number of sessions. The operations 1-9 performed in FIG. 16B are the same as performed in FIG. 16A, and their redundant description thereof is not repeated herewith. In the stop monitoring operation shown in FIG. 16B, after calling the getSendTriggerType function of the System object 1325 and returning SSESSIONS, the UsageDataSendManager 1310 also calls a getNumberOfSessions function of the System object 1325. This operation obtains the data previously set by a user indicating the number of sessions which must be finished prior to sending the monitored data in this operation. As shown in FIG. 14, the number of sessions can be set in the System object 1325. The System object 1325 then returns UINT data, indicating the number of sessions after which data should be sent, to the UsageDataSendManager 1310. The UsageDataSendManager object 1310 then sends the CUsageData and a call for a storeUsageData function of a LogFile object 1605. In this instance, if the predetermined set number of sessions has not been executed, the data from a session is stored in a non-volatile memory by the LogFile object 1605. The LogFile object 1605 then sends the CUsageData and a log file along with a call for an encodeUsageData function to a UsageDataEncoderDecoder object 1610. This operation encodes such data, for example compresses such data for easier storage, and stores the encoded usage data in the log file. When the appropriate number of sessions are completed, then the UsageDataSendManager object 1310 sends the CUsageInformation along with a call for a sendUsageData function to the SendingBlock object 1600, which then sends the data and returns a confirmation data, YES, to the UsageDataSendManager 1310.

FIG. 17 shows the operations performed in the SendingBlock object 1600 of FIGS. 16A and 16B.

The step with nomenclature 1 shown in FIG. 17 corresponds to the step with nomenclature 10 shown in FIG. 16A and the step with nomenclature 12 shown in FIG. 16B. In this step the MonitoringBlock object 1615 calls a sendUsageData function of and sends CUsageInformationDerived1 data to a SendMailTrigger object 1700. The SendMailTrigger object 1700 also returns a confirmation signal YES to the MonitoringBlock object 1615 after sending out the information. The SendMailTrigger object 1700 then sends CUsageInformationDerived1 data to and calls a convert function of the InputPack object 1710. The InputPack object 1710 can then convert the CUsageInformationDerived1 data into a different format data CUsageInformationDerived2. This CUsageInformationDerived2 data is then sent to the SendMailTrigger object 1700. The reason for this conversion is to accommodate any different data formats that may be passed from the monitoring block to the sending block according to different sending triggers. After the conversion, the data format will be the same within the Sending Block object 1600.

The InputPack object 1710 then calls a GetXXX function of a CUsageInformationDerived1 object 1715. The CUsageInformationDerived1 object 1715 then returns the requested XXX data to the InputPack object 1710. Examples of the data referenced by the XXX are system ID, cumulative usage, start time, duration, and command usage data.

The SendMailTrigger object 1700 then sends the data CUsageInformationDerived2 to and calls an encode function of the Security/DataEncode object 1720. The Security/DataEncode object 1720 then encodes the CUsageInformationDerived2 data and returns text file or CString data to the SendMailTrigger object 1700; that is the text file or CString data is security encoded data returned to the SendMailTrigger object 1700. This operation in the present invention can encrypt the usage data prior to being sent out by the email to ensure security.

The Security/DataEncode object 1720 then calls a GetXXX function from a CUsageInformationDerived2 object 1725, which in response returns the requested XXX data to the Security/DataEncode object 1720 as done at the step with nomenclature 3.

The sendMailTrigger 1700 then sends the text file or CString of the encoded and encrypted data to a SendMail object 1705, along with a call of a mailThisData function. The SendMail object 1705 then sends the encrypted data and then returns a confirmation signal, YES, indicating that the SendMail object 1705 has sent the data, to the SendMailTrigger object 1700.

As noted above with respect to FIG. 16B, in an operation of the present invention when data of a monitored target application 505 is sent only after a predetermined number of sessions of the target application 505 have been executed, in one example discussed above after five sessions have been executed, the data is stored in a LogFile object 1605. The data is stored in the LogFile object 1605 after being encoded in the UsageDataEncoderDecoder object 1610.

A further feature in the present invention is having the LogFile object 1605 contain encoding and decoding objects so that the encoding and decoding of the usage data is performed within the LogFile object 1605. With such a structure in the present invention, the LogFile object 1605 will not need to change how it encodes and decodes the usage data when an algorithm for encoding and decoding the usage data changes because the way it uses the encoding and decoding objects stays the same.

To achieve such a further operation in the present invention, abstract classes are used to define interfaces for encoding and decoding objects. The LogFile object 1605 uses those interfaces for the encoding and decoding operations. Classes derived from the abstract classes are used to define the algorithm for encoding the usage data as it is written into the log file and the algorithm for decoding the usage data as it is read from the log file. Such an operation in the present invention allows the LogFile object 1605 to be isolated from the algorithms used for encoding and decoding the usage data while containing the encoding and decoding objects to encode and decode the usage data.

Further details of utilizing an abstract class can be found in the book The C+++ Programming Language, Third Edition, by Bjarne Stroustrup, Addison Wesley, 1997, pp. 34-37, the contents of this entire book being incorporated herein by reference.

FIG. 18 shows the class diagram utilized in an encoding and decoding method of the present invention. The class CLogFile 1805 stores the usage data while the class CUsageDataPackagerForSessions 1810 puts the usage data into a CUsageInformation object. The CUsageInformation object contains the CLogFile object 1805.

The CLogFile class 1805 contains abstract classes for an encoder and decoder which allows encoding of the usage data into a log file and decoding of the usage data from a log file. The CLogFile class 1805 uses interface functions of abstract classes and does not know which derived classes of the abstract classes for the encoding and decoding it is using.

The classes CLogFile 1805 and CUsageDataPackagerForSSessions 1810 contain the abstract classes CAbsEncoder 1815 and CAbsDecoder 1820. The abstract class CAbsEncoder 1815 contains the pure virtual function encodeUsageData, which is defined by its derived class CClearTextEncoder 1825. The abstract class CAbsDecoder 1820 also contains the pure virtual function decodeUsageData, which is defined by its derived class CClearTextDecoder 1830. The class CUsageDataPackagerForSSessions 1810 contains the functions packageUsageData, getPackagedUsageData, createEncoder, and createDecoder, which are also further explained in FIGS. 19-21.

The abstract class CAbsDecoder 1820 contains an attribute member m_LogFile which is a structure representing the log file used to store the usage data. Any class derived from the abstract class CAbsDecoder 1820 inherits the attribute member m_LogFile so that it may use it.

The class CUsageDataPackagerForSSessions 1810 creates derived classes of the abstract classes for the encoder and decoder using the functions createEncoder and createDecoder. Those functions createEncoder and createDecoder return a pointer to abstract classes of the encoder and decoder even though they point to their derived classes. Any operation utilizing the encoder and decoder returned by those functions are not concerned with which derived classes of CAbsEncoder 1815 and CAbsDecoder 1820 were created.

The two abstract classes CAbsEncoder 1815 and CAbsDecoder 1820 provide interfaces for encoding and decoding the CUsageData.

The CLogFile class 1805 encodes and decodes the usage data without actually knowing the methods for encoding and decoding. The CLogFile class 1805 uses the interface functions of the abstract classes CAbsEncoder 1815 and CAbsDecoder 1820 to perform the encoding and decoding operations. Thus, changing the derived classes of CAbsEncoder 1815 and CAbsDecoder 1820 changes the methods for encoding and decoding. Any such changes would be transparent to the CLogFile class 1805. Thus, the CLogFile class 1805 does not have to be changed when the encoding and decoding methods change.

A derived class from the abstract class CAbsEncoder 1815 is CClearTextEncoder 1825. The derived class CClearTextEncoder 1825 is used for encoding the usage data into a clear text format. A derived class for the abstract class CAbsDecoder 1820 is CClearTextDecoder 1830. The derived class CClearTextDecoder 1830 is used for decoding the usage data from a clear text format.

In the operation noted above the usage data is encoded into a clear text format. That is only an example of the type of encoding operation which can be executed in the present invention. Clearly other types of encoding operations, such as a binary encoding operation, a hexadecimal encoding operation, etc. could also be implemented.

FIG. 19 shows an initialization of an encoding object and decoding object. In an initial step, the UsageDataSendManager object 1310 calls its own createUsageDataPackager function, and thereby creates the CUsageDataPackager data. The CUsageDataPackager data is created to package the usage data into CUsageInformation data so that it can be passed to the Sending Block object 1600. CUsageDataPackager is an abstract class that provides an interface for packaging the usage data into the CUsageInformation data. The createUsageDataPackager function of the UsageDataSendManager object 1310 creates one of the derived classes of CUsageDataPackager depending upon the send trigger type. In this instance, the derived class of CUsageDataPackager created by the UsageDataSendManager object 1310 is the CUsageDataSSessionsPackager 2200 which packages the usage data for a predetermined number of sessions of the target application 505, see step 2. That is, after the UsageDataSendManager object 1310 calls the function createUsageDataPackager, it calls the function CUsageDataSSessionsPackager to create the new CUsageDataSSessionsPackager object 2200. The CUsageDataSSessionsPackager object 2200 packages the usage data for a predetermined number of sessions of the target application 505 into CUsageInformation data.

The newly created CUsageDataSSessionsPackager then calls a CLogFile function to create a new CLogFile object 2210, see step 3. The CLogFile object 2210 contains the log file that is used to store the usage data for the predetermined number of sessions of the target application 505.

The CUsageDataSSessionsPackager object 2200 then calls its own createEncoder function and returns the CAbsEncoder abstract class data, see step 4. The createEncoder function of the CUsageDataSSessionsPackager object 2200 then calls the CClearTextEncoder function to create a new CClearTextEncoder object 2405, see step 5. It is actually this CClearTextEncoder data, which is derived from the abstract class CAbsEncoder, that is returned by the createEncoder function. The fact that the CClearTextEncoder data is returned by the createEncoder function is hidden from the CUsageDataSSessionsPackager object 2200. The CClearTextEncoder object 2405 contains the encoding method utilized, which in the example noted above is a clear text encoding method, but which of course could be a different encoding method, such as binary, hexadecimal, etc. The CUsageDataSSessionsPackager object 2200 then calls a setEncoder function of the CLogFile object 2210 and sends the CAbsEncoder data, which is actually the CClearTextEncoder data derived from the abstract class CAbsEncoder, see step 6. The CLogFile object 2210 now contains the encoding object to encode the usage data as it is written into the log file.

The CUsageDataSSessionsPackager object 2200 then calls its own createDecoder function and returns the CAbsDecoder abstract class data, see step 7. The createDecoder function of the CUsageDataSSessionsPackager object 2200 then calls the CClearTextDecoder function to create a new CClearTextDecoder object 2410, see step 8. It is actually this CClearTextDecoder data, which is derived from the abstract class CAbsDecoder, that is returned by the createDecoder function. The fact that the CClearTextDecoder data is returned by the createDecoder function is hidden from the CUsageDataSSessionsPackager object 2200. The CClearTextDecoder object 2410 contains the decoding method utilized, which is a clear text decoding method, but which of course could be a different decoding method, such as binary, hexadecimal, etc. The CUsageDataSSessionsPackager object 2200 then calls a setDecoder function of the CLogFile object 2210 and sends the CAbsDecoder data, which is actually the CClearTextDecoder data derived from the abstract class CAbsDecoder, see step 9. The CLogFile object 2210 now contains the decoding object to decode the usage data as it is read from the log file.

The CUsageDataSSessionsPackager object 2200 then calls a CUsageDataInLogFile function to create a new CUsageDataInLogFile object 2205, see step 10. The CUsageDataInLogFile object 2205 is a derived class of the abstract class CUsageInformation that will be passed to the Sending Block object 1600. The CUsageDataInLogFile object 2205 contains the monitored usage data of a predetermined number of sessions of the target application 505. The CUsageDataInLogFile object 2205 uses the CLogFile object 2210 to store the usage data of a predetermined number of sessions of the target application 505.

The operations discussed above with respect to FIG. 19 result in the CUsageDataSSessionsPackager object 2200 creating the encoding and decoding objects corresponding to the abstract and derived classes shown in FIG. 18 which are then set in the CLogFile object 2210. That is, the abstract classes CAbsEncoder 1815 and CAbsDecoder 1820 are passed to the CLogFile object 2210 without the CLogFile object 2210 knowing about the derived classes that were passed to it. The CLogFile object 2210 will know how to encode and decode the usage data, by using encoding object CAbsEncoder 1815 and the decoding object CAbsDecoder 1820, but the exact method is hidden within the derived object from the CLogFile object 2210.

FIG. 20 shows an encoding operation of the CUsageData as it is written into the log file.

In FIG. 20, in an initial step the CUsageDataSSessionsPackager object 2200 calls a storeUsageData function of the CLogFile object 2210 and sends the CUsageData thereto, see step 1. The CLogFile object 2210 sends a confirmation YES to the CUsageDataSSessionsPackager object 2200 when it successfully stores the usage data into the log file. The CLogFile object 2210 then calls its own openToAppend function to open the log file so that the usage data can be added to the end of the log file, see step 2. The CLogFile object 2210 sends a confirmation YES to itself when it successfully opens the log file. After the CLogFile object 2210 calls the openToAppend function, the CLogFile object 2210 calls an Open function of CStdioFile object 2505 to open the log file, see step 3. The mode data and string data passed to the CStdioFile object 2505 represents the mode in which the log file is to be opened and the name of the log file, respectively. The CStdioFile object 2505 sends a confirmation YES to CLogFile object 2210 when it successfully opens the log file. The CStdioFile object 2505 contains the log file in which the usage data is written into. The CLogFile object 2210 then calls a SeekToEnd function of the CStdioFile object 2505 to set the file pointer to the end of the log file so that when the usage data is written into the log file it will be added to the end of the log file, see step 4.

The CLogFile object 2210 then calls an encodeUsageData function of the CClearTextEncoder object 2405, which is derived from the abstract class CAbsEncoder 1815, see step 5. The CLogFile object 2210 believes that it is interfacing with the abstract class CAbsEncoder 1815 when in actuality it is interfacing with its derived class CClearTextEncoder. The CLogFile object 2210 sends the CUsageData, which contains the usage data for the current session of the target application 505, and the CStdioFile data, which contains the log file, to the CClearTextEncoder object 2405 to encode the usage data and write the encoded usage data into the log file. When the CClearTextEncoder object, 2405 is successful in encoding and writing the usage data into the log file, it sends the confirmation YES to the CLogFile object 2210. The CLogFile object 2210 then closes the log file by calling its own closeLogFile function, see step 6. After the CLogFile object 2210 calls the closeLogFile function, the CLogFile object 2210 calls a Close function of the CStdioFile object 2505 to close the log file, see step 7.

With the above-discussed operations in FIG. 20, the usage data in CUsageData is encoded and stored in the log file within the CLogFile object 2210. The CLogFile object 2210 uses the abstract class CAbsEncoder 1815 to encode the usage data. However, hidden in the abstract class CAbsEncoder 1815 is the derived class CClearTextEncoder which the CLogFile object 2210 is actually using. The CLogFile object 2210 is not aware that it is using the CClearTextEncoder object 2405.

FIG. 21 shows an operation of decoding the usage data as it is read from the log file.

In FIG. 21, initially the CUsageDataInLogFile object 2205 calls a retrieveUsageData function of the CLogFile object 2210 to read the usage data from the log file, see step 1. This function returns the CUsageData, which contain the usage data, and the confirmation YES, if it is able to read the usage data from the log file, to the CUsageDataInLogFile object 2205. The CLogFile object 2210 then calls its own openToRead function to open the log file to read the usage data from the log file, see step 2. The CLogFile object 2210 then sends a confirmation YES to itself when it successfully opens the log file. After the CLogFile object 2210 calls the openToRead function, the CLogFile object 2210 calls an Open function of the CStdioFile object 2505 to open the log file, see step 3. The mode data and string data passed to the CStdioFile object 2505 represent the mode in which the log file is to be opened and the name of the log file, respectively. The CStdioFile object 2505 sends a confirmation YES to the CLogFile object 2210 when it successfully opens the log file. The CStdioFile object 2505 contains the log file from which the usage data will be read. The CLogFile object 2210 then calls a SeekToBegin function of the CStdioFile object 2505 to set the file pointer to the beginning of the log file as usage data is read from the log file, see step 4.

The CLogFile object 2210 then calls the setLogFile function of the CClearTextDecoder object 2410, which is derived from the abstract class CAbsDecoder 1820, to set the log file in the decoding object, see step 5. The CLogFile object 2210 believes it is interfacing with the abstract class CAbsDecoder 1820 when in actuality it is interfacing with its derived class CClearTextDecoder. The CLogFile object 2210 sends CStdioFile data, which contains the log file, to the CClearTextDecoder object 2410 so that the decoding object can read the usage data from the log file. The CLogFile object 2210 then calls a decodeUsageData function of the CClearTextDecoder object 2410, see step 6. The CClearTextDecoder object 2410 returns CUsageData, which contains the decoded usage data read from the log file, and YES, to confirm it was successful in decoding the usage data, to the CLogFile object 2210.

With the above-discussed operations in FIG. 21, the usage data is read and decoded from the log file within the CLogFile object 2210. The CLogFile object 2210 uses the abstract class CAbsDecoder 1820 to decode the usage data. However, hidden in the abstract class CAbsDecoder 1815 is the derived class CClearTextDecoder which CLogFile object 2210 is actually using. The CLogFile object 2210 is not aware that it is using the CClearTextDecoder object 2410.

FIG. 22 shows graphically the encoding operation as executed in FIG. 20. As shown in FIG. 22 the CUsageData 2200 contains both strings and integers individually, and a map which maps strings to integers, as examples. The CUsageData 2200 can of course take on different forms and structures. The encoding operation executed in the CClearTextEncoder object 2405 takes data from the CUsageData 2200, encodes the data, and stores the encoded data in a storage 2250. The usage data of CUsageData 2200 is encoded based on the class CClearTextEncoder 1825 which is derived from the abstract class CAbsEncoder 1815.

FIG. 23 shows in more concrete form different types of encoding methods which may be executed by the different derived classes of CAbsEncoder. As a first encoding method which can be executed by the CClearTextEncoder object 2405, the CClearTextEncoder object 2405 encodes the data of CUsageData 2200 into a clear text format where the encoded data is written into a clear text file 2310 on separate lines. As a second encoding method a CBinaryEncoder object 2406 can also perform an encoding of the data of CUsageData 2200 into a binary format such that the encoded data is written into a binary file 2320. Of course, other encoding processes are also possible.

FIG. 24 graphically shows the decoding operation executed by the CClearTextDecoder object 2410. In FIG. 24, an encoded file is retrieved from the storage 2250. The retrieved file is decoded based on the abstract class CAbsDecoder 1820 and derived class CClearTextDecoder 1830 in the CClearTextDecoder object 2405, to thus decode the encoded data from the log file and store the decoded data in CUsageData 2200, which again can be in a structure which includes strings, integers, maps, etc.

FIG. 25 shows the decoding operation for two different decoding objects, CClearTextDecoder object 2410 and CBinaryDecoder object 2415. These two decoding objects use different decoding methods for decoding the usage data from the log files. In particular, the CClearTextDecoder object 2410 reads the usage data from the file 2310, decodes the usage data, and stores the decoded data into the CUsageData object 2300. The file 2310 stores the usage data in a clear text format. Also, the CBinaryDecoder object 2415 reads the usage data from the file 2320, decodes the, usage data, and stores the decoded data into the CUsageData object 2300. The file 2320 stores the usage data in a binary format. Even though the formats of the usage data in the two files are different and the two decoding methods used are different, the resulting usage data may be the same, as shown in FIG. 25.

With the above-discussed operations, the present invention provides a control operation for monitoring a user's usage of a user interface which is part of a target application. Further, such an operation of the present invention allows data of the monitored usage to be stored and to be transmitted, at appropriately selected times, by Internet mail. Internet mail is a convenient source of such a transmission because such a transmission of monitored usage data will typically not be time sensitive information. Further, utilizing an Internet mail system to communicate such data can significantly reduce costs of the transmission. Further, since the logged usage data is sent by Internet mail in the present invention, the logged usage data can be automatically sent to a further computer system which may be programmed to analyze the usage data transmitted by Internet mail. Such an operation made possible by the present invention can greatly increase the efficiency of monitoring and analyzing such usage data.

In its preferred implementation, the present invention utilizes computers having separate housings than the device to which they are attached. This would allow the invention to be inexpensively implemented for installations which already have an existing computer for performing the desired processing as the new hardware costs may be reduced. Such an arrangement may also permit implementation of the invention without hardware changes to the device. However, if desired, the present invention may be implemented by including the appropriate processing and data storage capabilities in the device which is being monitored and/or controlled in addition to or as an alternative to a separate computer connected to the device.

This application relates to and builds on various concepts which have been disclosed in the cross-referenced patents and patent applications which have been incorporated into this application by reference. This patent application is intended to include not only the inventions disclosed in the related applications, but also the combinations of various features and functions of the individual embodiments which have been disclosed in this and each of the related applications. Thus, a feature disclosed in one of the related applications or patents may be readily applied a concept disclosed in this invention, and also, the concepts disclosed in one or more of the other applications may be applied concepts or features disclosed in other(s) of the applications. Further, an email message may be used for only sending, with communication in the other direction being performed using a different mode of communication, such as one of the other communication modes disclosed herein, or a communication mode disclosed in the related patents and patent applications.

This invention may be conveniently implemented using a conventional general purpose digital computer or microprocessor programmed according to the teachings of the present specification, as will be apparent to those skilled in the computer art. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art. The invention may also be implemented by the preparation of application specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, as will be readily apparent to those skilled in the art.

The present invention includes a computer program product which is a storage medium including instructions which can be used to program a computer to perform a process of the invention. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, CD-ROMS, and magneto-optical disks, ROMs. RAMs, EPROMS, EEPROMS, magnetic or optical cards, or any type of media suitable for storing electronic instructions.

Obviously, numerous additional modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the present invention may be practiced otherwise than as specifically described herein. 

1. A system comprising: a device comprising an interface, the interface comprising a plurality of operations to be selected by a user; a monitoring device configured to monitor data of selecting of the plurality of operations of the interface by the user, and to encode and store the monitored data into a log file in the device; a communicating device configured to receive the log file of the monitored data, to decode the stored encoded log file, to create a message of the monitored data, and to then communicate the message of the monitored data; wherein the monitoring device includes a control to automatically start the monitoring without an input from a device to which the message of the monitored data is to be communicated, and wherein the communicating device includes a control to automatically communicate the message of the monitored data by a unidirectional communication without requiring input from the device to which the message of the monitored data is to be communicated.
 2. The system according to claim 1, wherein the device is an image forming device and the interface is an operation panel of the image forming device.
 3. The system according to claim 1, wherein the device is an appliance and the interface is an operation panel of the appliance.
 4. The system according to claim 1, wherein the communicating device sends the log of the monitored data when the user exits the device.
 5. The system according to claim 1, further comprising a setting unit configured to set a number of sessions of the device to be executed by the user prior to the communicating device communicating the log file of the monitored data.
 6. The system according to claim 1, wherein the monitoring device encodes the monitored data into the log file and the communicating device decodes the monitored data from the log file by defining the encoding and decoding objects as abstract classes and defining derived classes to include encoding and decoding algorithms.
 7. The system according to any one of claims 1-6, wherein the communicating device communicates the log of the monitored data by Internet mail.
 8. A system comprising: a device comprising interface means, the interface means for providing a plurality of operations to be selected by a user; monitoring means for monitoring data of selecting of the plurality of operations of the interface means by the user, and for encoding and storing the monitored data into a log file in the device; communicating means for receiving the log file of the monitored data, for decoding the stored encoded log file, for creating a message of the monitored data, and for communicating the message of the monitored data; wherein the monitoring means includes a control to automatically start the monitoring without an input from a device to which the message of the monitored data is to be communicated, and wherein the communicating means includes a control to automatically communicate the message of the monitored data by a unidirectional communication without requiring input from the device to which the message of the monitored data is to be communicated.
 9. The system according to claim 8, wherein the device is an image forming device and the interface means is an operation panel of the image forming device.
 10. The system according to claim 8, wherein the device is an appliance and the interface means is an operation panel of the appliance.
 11. The system according to claim 8, wherein the communicating means sends the log of the monitored data when the user exits the device.
 12. The system according to claim 8, further comprising a setting means for setting a number of sessions of the device to be executed by the user prior to the communicating means communicating the log of the monitored data.
 13. The system according to claim 8, wherein the monitoring means encodes the monitored data into the log file and the communicating means decodes the monitored data from the log file by defining the encoding and decoding objects as abstract classes and defining derived classes to include encoding and decoding algorithms.
 14. The system according to any one of claims 8-13, wherein the communicating means communicates the log of the monitored data by Internet mail.
 15. A method of monitoring usage of an interface of a device, the interface including a plurality of operations to be selected by a user, comprising the steps of: monitoring data of selecting the plurality of operations of the interface selected by the user; generating a log file of the monitored data by encoding the monitored data and storing the encoded monitored data into the log file in the device; and creating a message of the monitored data by reading the encoded monitored data from the log file and decoding the encoded monitored data, and communicating the message of the monitored data; wherein the monitoring includes a control operation to automatically start the monitoring without an input from a device to which the message of the monitored data is to be communicated, and wherein the communicating includes a control operation to automatically communicate the message of the monitored data by a unidirectional communication without requiring input from the device to which the message of the monitored data is to be communicated.
 16. The method according to claim 15, wherein the device is an image forming device and the interface is an operation panel of the image forming device.
 17. The method according to claim 15, wherein the device is an appliance and the interface is an operation panel of the appliance.
 18. The method according to claim 15, wherein the communicating step sends the log of the monitored data when the user exits the device.
 19. The method according to claim 15, further comprising a step of setting a number of sessions of the device to be executed by the user prior to the communicating device communicating the log of the monitored data.
 20. A system according to claim 15, wherein the encoding step encodes the monitored data into the log file and the decoding step decodes the monitored data from the log file by defining the encoding and decoding objects as abstract classes and defining derived classes to include encoding and decoding algorithms.
 21. The method according to any one of claims 15-20, wherein the communicating step communicates the log of the monitored data by Internet mail.
 22. A computer program product comprising: a computer storage medium and a computer program code mechanism embedded in the computer storage medium for causing a computer to monitor a user's usage of an interface of a device, the interface comprising a plurality of operations to be Selected by a user, comprising: a first computer code device configured to monitor data of selecting of the plurality of operations of the interface by the user, and to encode and store the monitored data into a log file in the device; a second computer code device configured to receive the log file of the monitored data, to decode the stored encoded log file, to create a message of the monitored data, and to then communicate the message of the monitored data; wherein the first computer code device includes a control code to automatically start the monitoring without an input from a device to which the message of the monitored data is to be communicated, and wherein the second computer code device includes a control code to automatically communicate the message of the monitored data by a unidirectional communication without requiring input from the device to which the message of the monitored data is to be communicated.
 23. The computer program product according to claim 22, wherein the device is an image forming device and the interface is an operation panel of the image forming device.
 24. The computer program product according to claim 22, wherein the device is an appliance and the interface is an operation panel of the appliance.
 25. The computer program product according to claim 22, wherein the second computer code device is further configured to send the log of the monitored data when the user exits the device.
 26. The computer program product according to claim 22, further comprising a third computer code device configured to set a number of sessions of the device to be executed by the user prior to the second computer code device communicating the log of the monitored data.
 27. The computer program product according to claim 22, wherein the second computer code device encodes the monitored data into the log file and decodes the monitored data from the log file by defining the encoding and decoding objects as abstract classes and defining derived classes to include encoding and decoding algorithms.
 28. The computer program product according to any one of claims 22-27, wherein the second computer code device is further configured to communicate the log of the monitored data by Internet mail. 